home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / gfx / aga / mv1440sup72_2.lha / mv1440sup72 / install+delete / delete_ mv1440sup72 next >
Text File  |  1999-01-31  |  3KB  |  122 lines

  1. ; Restore old monitorfiles  by Jürgen Einrauch 16. Januar 1999      
  2. failat 21
  3.  
  4. echo "  *e[1;32m___________________________________________________"
  5. echo "  *e[43m                                                   *e[0m"
  6. echo "  *e[0;28;43m   Delete mv1440sup72 - restore old monitorfiles*e[1m   *e[0m"
  7. echo "  *e[;;43m___________________________________________________*e[0m*n"
  8.  
  9. lab anfang
  10. echo "*n   Wähle Sprache / Choose language."
  11. echo noline "   Schreibe *e[32md*e[0m für deutsch / Type *e[32me*e[0m for english: "
  12. set > nil: spra ?
  13. IF $spra eq "d"
  14. skip deutsch
  15. endif
  16. IF $spra eq "e"
  17. skip english
  18. endif
  19. skip back anfang
  20.  
  21. lab deutsch
  22. IF NOT EXISTS SYS:monitorfiles_old
  23. echo "*n   Datei <monitorfiles_old> nicht gefunden."
  24. echo "   Löschen - Restaurieren abgebrochen."
  25. WAIT 4 secs
  26. EndCLI >NIL:
  27. quit
  28. ELSE
  29. echo "*n   *e[32mWarnung. Lesen Sie alle Informationen !*e[0m"
  30. echo "*n   Alte Monitordaten wieder herstellen ?"
  31. echo noline "   (ja/nein : "
  32. set > nil: in ?
  33. IF $in eq "ja"
  34.   skip start
  35. endif
  36. IF $in eq "Ja"
  37.   skip start
  38. endif
  39. IF $in eq "j"
  40.   skip start
  41. endif
  42. IF $in eq "J"
  43.   skip start
  44. endif
  45. echo noline "*n   Löschen - Restaurieren abgebrochen."
  46. EndCLI >NIL:
  47. quit
  48. endif
  49.  
  50. lab start
  51. echo "*n   Die Konfiguration von mv1440sup72 wird nun aus"
  52. echo "   devs/monitors und env-archive/sys entfernt."
  53. echo "   <mv1440sup72> auf der Workbench bleibt erhalten."
  54.  
  55. delete >nil: sys:devs/monitors/ all
  56. delete >nil: sys:prefs/env-archive/sys/overscan.prefs
  57. delete >nil: sys:prefs/env-archive/sys/screenmode.prefs
  58.  
  59. copy >nil: from sys:monitorfiles_old/monitors to sys:devs/monitors all
  60. copy >nil: from sys:monitorfiles_old/sys to sys:prefs/env-archive/sys/ all
  61.  
  62. delete >nil: sys:monitorfiles_old all
  63. wait 3 secs
  64. echo "*n   Die alten Monitordaten sind nun wieder hergestellt."
  65. echo "   Starten Sie den Rechner neu, um die Einstellungen zu"
  66. echo "   aktivieren. Justieren und fixieren Sie alle Fenster neu." 
  67.  
  68. wait 6 secs
  69. EndCLI >NIL:
  70. quit
  71.  
  72. lab english
  73. IF NOT EXISTS SYS:monitorfiles_old
  74. echo "*n   File <monitorfiles_old> not found."
  75. echo "   Delete - Restore aborted."
  76. WAIT 4 secs
  77. EndCLI >NIL:
  78. quit
  79. ELSE
  80. echo "*n   *e[32mWarning. Read all information files first !*e[0m"
  81. echo "*n   Restore your old monitorfiles now ?"
  82. echo noline "   (yes/no : "
  83. set > nil: in ?
  84. IF $in eq "yes"
  85.   skip start
  86. endif
  87. IF $in eq "Yes"
  88.   skip start
  89. endif
  90. IF $in eq "y"
  91.   skip start
  92. endif
  93. IF $in eq "Y"
  94.   skip start
  95. endif
  96. echo noline "*n   Delete - Restore aborted."
  97. EndCLI >NIL:
  98. quit
  99. endif
  100.  
  101. lab start
  102. echo "*n   Delete now the configuration of mv1440sup72"
  103. echo "   from devs/monitors and env-archive/sys."
  104. echo "   <mv1440sup72> on your Workbench will be saved."
  105.  
  106. delete >nil: sys:devs/monitors/ all
  107. delete >nil: sys:prefs/env-archive/sys/overscan.prefs
  108. delete >nil: sys:prefs/env-archive/sys/screenmode.prefs
  109.  
  110. copy >nil: from sys:monitorfiles_old/monitors to sys:devs/monitors all
  111. copy >nil: from sys:monitorfiles_old/sys to sys:prefs/env-archive/sys/ all
  112.  
  113. delete >nil: sys:monitorfiles_old all
  114. wait 3 secs
  115. echo "*n   Your old monitorfiles are restored now."
  116. echo "   Reset your computer to enable the configuration."
  117. echo "   New adjust and fix all windows." 
  118.  
  119. wait 6 secs
  120. EndCLI >NIL:
  121. quit
  122.